package com.eco.fanliapp.service;


import com.baomidou.mybatisplus.extension.service.IService;
import com.eco.fanliapp.common.response.ServerResponse;
import com.eco.fanliapp.entity.SyTimePeriod;

import java.util.List;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author jobob
 * @since 2019-09-09
 */
public interface ISyTimePeriodService extends IService<SyTimePeriod> {


    /**
     * 查询所有时间段  并对子集进行分页
     * @param pageNum
     * @param pageSize
     * @return
     */
    List<SyTimePeriod> syTimePeriodList(Integer pageNum, Integer pageSize,int hours,Integer flage);

    ServerResponse timePeriodRefreshDetails(Long itemId,Long userId);
}
